###
 # @Author: xushaocong
 # @Date: 2022-05-22 15:02:39
 # @LastEditTime: 2022-05-27 12:19:36
 # @LastEditors: xushaocong
 # @Description: 
 # @FilePath: /deep_motion_mag/install.sh
 # email: xushaocong@stu.xmu.edu.cn
### 


conda create -n deep_motion2 python=3.6 -y


conda activate deep_motion2




#* # something wrong will happen during install tensorflow-gpu==1.3.0 
pip install -r requirements.txt  2>&1 | tee -a logs/install.log

pip install matplotlib

# pip install  ./install_pkg/tensorflow_gpu-1.3.0-cp36-cp36m-manylinux1_x86_64.whl


# pip install tensorflow_gpu-1.8.0-cp36-cp36m-manylinux1_x86_64.whl
# python -c "import tensorflow as tf;print(tf.test.is_gpu_available());"
# python -c "import tensorflow;"
# gpu_device_name = tf.test.gpu_device_name()
# print(gpu_device_name)



# sudo rm -rf cuda
# sudo ln -s cuda-9.0/ cuda










